import events.IEventListener;
import events.event.*;

/**
 * Wyświetlacz tekstu
 *
 */
public class TextDisplay implements IEventListener {

  @Override
  public void executeEvent(Event event) {
    // Wyświetl komunikat
    System.out.println("[TextDisplay] " +
        ((KeyboardEvent)event).getText());
  }

}
